package org.sn.jdish.dubbo.service;

import org.sn.jdish.dubbo.api.DemoService;
import org.sn.jdish.dubbo.dto.DemoDto;

public class DemoServiceImpl implements DemoService {

	public String sayHello(String name) {
		return "hello, " + name;
	}

	public String sayHello(DemoDto dto) {
		return "hello, " + dto.getName();
	}

}
